bin_PROGRAMS = mincc
mincc_SOURCES = main.cpp cmdline.hpp cmdline.cpp state.hpp state.cpp 	\
		compile.cpp compile.hpp interpret.cpp interpret.hpp 	\
		error.hpp error.cpp plugin.hpp plugin.cpp               \
		codeHandler.hpp codeHandler.cpp 			\
		codeLoader.hpp codeLoader.cpp 				\
		fileLoader.hpp fileLoader.cpp

mincc_LDFLAGS=@PTHREAD_LIBS@ @PTHREAD_CFLAGS@ @CURSES_LIB@

mincc_CPPFLAGS=-I../include

#test code here

if TEST
mincc_CPPFLAGS += -w
mincc_LDFLAGS += -lcunit -L${HOME}/lib -Wl,--rpath -Wl,${HOME}/lib
endif
